package com.pym.dao;

import com.pym.pojo.staff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface departmentandstaffMapper{
    List<staff> selectDepartmentAndStaffAll();
    int LoginByUsernameandByPassword(@Param("username") String username, @Param("password") String password);


}
